#ifndef QMYWIDGET_H
#define QMYWIDGET_H

#include <QWidget>
#include <QFrame>
#include <QMap>

class QObjectHost;

class QMyWidget : public QWidget
{
    Q_OBJECT
public:
    explicit QMyWidget(QWidget *parent = 0);
protected:
    void    paintEvent(QPaintEvent *);

    void    updateStyleSheet();
signals:
    void    zValueChanged();
public slots:
    void    updateProperty(const QString & name);
    void    updatePropertyAttribute();
    void    initProperty();
protected:
    QObjectHost             *m_host;
};

#endif // QMYWIDGET_H
